<template>
  <div class="box p-2 rounded-md m-3 gap-2">
    <div class="m-3 flex">
      身份证号： {{ user.IDNumber }}
    </div>
    <div class="m-3 flex">
      手机号：{{ user.phone }}
    </div>
    <div class="m-3 flex">
      地区：{{ user.area }}
    </div>
    <div class="m-3 flex">
      详细地址：{{ user.location }}
    </div>
  </div>
</template>


<script setup>
import { onLoad } from '@dcloudio/uni-app';
import { useUserStore } from '../../stores/user';
const user = useUserStore()
// onLoad(option => {

// })

</script>

<style>
.box {
  border: 2px solid rgba(31, 31, 31);
}
</style>